package org.hotpotmaterial.code.repository;

import java.util.List;

import org.hotpotmaterial.code.entity.ContainerEnvPO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 
 * @author xuyufeng
 *
 */
public interface ContainerEnvRepository
    extends JpaRepository<ContainerEnvPO, String>, JpaSpecificationExecutor<ContainerEnvPO> {
  
  List<ContainerEnvPO> findByReleaseId(String releaseId);
  
  Long deleteByProjectId(String projectId);
}
